package com.runshu.newsmartark.mvp.contract;


import com.runshu.newsmartark.network.netbean.ResponseBean;
import com.runshu.newsmartark.network.netinterface.BaseCallBack;

/**
 * Demo class
 *
 * @author yu
 * @date 2020/7/29
 * @decs：
 */

public interface RegisterAndRecognContract {
    interface Model {
        void addUserFace(String usercode, String facecode, BaseCallBack baseCallBack);

        void verifyUserFace(String facecode, BaseCallBack baseCallBack);
    }

    interface View {
        void addUserFaceSuccess(ResponseBean responseBean);

        void verifyUserFaceSuccess(ResponseBean responseBean);

        void OnaddUserFaceError(String msg);
        void OnverifyUserFaceError(String msg);
    }

    interface Presenter {
        void addUserFace(String usercode, String facecode);

        void verifyUserFace(String facecode);

    }
}
